let lastEvent;
['click', 'touchstart', 'mousedown', 'keydown', 'mouseover'].forEach(eventType => {
  document.addEventListener(eventType, function (e) {
    lastEvent = e
  }, {
    capture: true, // 捕获阶段监听
    passive: true, // 默认不阻止默认事件
  })
})
export default function () {
  return lastEvent;
}